function Delete(action)
{
	if (window.confirm("确定要删除吗？")){
		window.location.href=action;
	}
}
function time()
{
	var time=new Date();
	var year=time.getYear();//年
	var month=time.getMonth()+1;//月  因为月从0-11，所以要加1
	var date=time.getDate();//日
	var hours=time.getHours();
	var minutes=time.getMinutes();
	var seconds=time.getSeconds();
	if(hours<10){
		hours="0"+hours;
	}
	if(minutes<10){
		minutes="0"+minutes;
	}
	if(seconds<10){
		seconds="0"+seconds;
	}
	document.getElementById("tim").value=year+"-"+month+"-"+date+" "+hours+":"+minutes+":"+seconds;
	setTimeout("time()",1000);
}
function show(str){
	if(str==2){
		alert("操作成功");
	}else if(str==3){
		alert("操作失败");
	}
}